package cn.polymhomework03;


/**
 * 加
 * @author
 *
 */
public class Add extends Calculator {
    @Override
    public double getResult() {
        return getX()+getY();
    }
}

